<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;


/**
 * Class GoodsFile
 * 
 * @property int $id
 * @property int $goods_id
 * @property int|null $type
 * @property string|null $url
 *
 * @package App\Models
 */
class GoodsFile extends BaseModels
{
	protected $table = 'zh_goods_files';
	public $timestamps = false;

	protected $casts = [
		'goods_id' => 'int',
		'type' => 'int'
	];

	const BANNER = 1;

	const DETAIL = 2;

//	const PARAM = 3;

	const D_VIDEO = 4;

	const D_IMAGE = 5;

	protected $fillable = [
		'goods_id',
		'type',
		'url'
	];
}
